#pragma once
#include<iostream>
#include<cassert>
#include<cstdlib>
using namespace std;
class TreeNode
{
public:
	TreeNode(int _val = 0, TreeNode* _left = nullptr, TreeNode* _right = nullptr)
	{
		val = _val;
		left = _left;
		right = _right;
	}
	int val;
	TreeNode* left;
	TreeNode* right;
};
class Tree
{
public:
	~Tree()
	{
		//后序遍历二叉树
	}
	void creat();
	void push(int x);

private:
	TreeNode* root = nullptr;
};